import { ForbiddenException } from '@nestjs/common';

const DEFAULT_ERROR = 'Captcha is not correct.';

export class CaptchaNotCorrectException extends ForbiddenException {
  constructor(error = DEFAULT_ERROR) {
    super('error.captcha_not_correct', error);
  }
}
